package com.ruoyi.project.module.bydpact.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 合同管理表 bydpact
 * 
 * @author ruoyi
 * @date 2018-11-15
 */
public class Bydpact extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** 已雇佣ID */
	@Excel(name = "已雇佣ID")
	private Integer id;
	/** 用户名 */
	@Excel(name = "用户名")
	private String login;
	/** 保镖名 */
	@Excel(name = "保镖名")
	private String name;
	/** 天数 */
	@Excel(name = "天数")
	private Integer sky;
	/** 雇用金额 */
	@Excel(name = "雇佣金额")
	private String money;
	/** 创建时间 */
	@Excel(name = "创建时间")
	private Date createTime;
	/** 更新时间 */
	@Excel(name = "更新时间")
	private Date updateTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setLogin(String login) 
	{
		this.login = login;
	}

	public String getLogin() 
	{
		return login;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setSky(Integer sky) 
	{
		this.sky = sky;
	}

	public Integer getSky() 
	{
		return sky;
	}
	public void setMoney(String money) 
	{
		this.money = money;
	}

	public String getMoney() 
	{
		return money;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("login", getLogin())
            .append("name", getName())
            .append("sky", getSky())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
